import styled from 'styled-components';
import * as style from '../../assets/global-style';

export const Top = styled.div`
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 5px 10px;
  background: ${style.globalStyle["theme-color"]};
  &>span {
    line-height: 40px;
    color: #161616;
    font-size: 20px;
    &.iconfont {
      font-size: 25px;
    }
  }
`;

export const Tab = styled.div`
  height: 44px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background: ${style.globalStyle["theme-color"]};
  a {
    flex: 1;
    padding: 2px 0;
    font-size: 14px;
    color: #161616;
    &.selected {
      span {
        padding: 3px 0;
        font-weight: 700;
        color: #161616;
        border-bottom: 3px solid ${style.globalStyle["color-red"]};
      }
    }
  }
`
export const TabItem = styled.div`
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
`

export const Content = styled.div`
  position: fixed;
  top: 50px;
  bottom: 0px;
  width: 100%;
  &::before {
    position: absolute;
    top: -300px;
    height: 400px;
    width: 100%;
    background-color: ${style.globalStyle['theme-color']};
  }
`;
